<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./jquery.js"></script>
</head>
<body>
    <div class="wzf">你真是个天才!</div>
</body>
</html>
<script>
    var wzf = document.querySelector('.wzf')
    class c2{
        constructor(a,b,c){
            this.a = a 
            this.b = b 
            this.c = c 
        }
        fns(){
            // alert(this.a)
            wzf.style.color = this.a
            return this
        }
        fnss(){
            // alert(this.b)
            wzf.style.fontSise = this.b
            return this
        }
        fnsss(){
            // alert(this.c)
            wzf.innerHTML = this.c
            return this
        }
    }
    var C = new c2('red','30px','你呀,总能给我整出点花样')
    wzf.addEventListener('click',function(){
        C.fns().fnss().fnsss()
    })
</script> 